﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_CreateProduct : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        BLL.Products.ProductBAL objProductBAL = new BLL.Products.ProductBAL();
        DTOS.Products.ProductDTO objProductDTO = ucProductDetails.GetProductDetails;
        IList<DTOS.Products.StonesDTO> lstStonesDTO = ucStoneDetails.GetStones;
        Int64 productId = objProductBAL.CreateProduct(ucProductDetails.GetProductDetails, lstStonesDTO, null);
    }
}